package com.huayi.server.Controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;



/**
 * Created by mac on 2017/8/18.
 */
@Controller
public class IndexController {

    Logger logger = LoggerFactory.getLogger(IndexController.class);

    public IndexController() {
        logger.debug("index ...");
    }

    @RequestMapping("/")
    public String index(){
        return "index";
    }
}
